<template>
  <div>
    <Header></Header>
    <router-view></router-view>
    <Footer v-show="$route.path !=='/register' && $route.path!=='/login'"></Footer>
    <Self></Self>
  </div>
</template>

<script>
import Header from './components/Header'
import Footer from './components/Footer'

import Self from './components/self'
export default {
  name:'App',
  components:{
    Header,
    Footer,
    Self,
  },
  mounted(){
     this.$store.dispatch("home/getCategoryListData");
  }
}

</script>

<style>

</style>